package com.imti.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.imti.mall.model.pms.pojo.PmsSkuStock;

import java.util.List;


/**
 * sku的库存(PmsSkuStock)表服务接口
 *
 * @author makejava
 * @since 2023-03-03 00:28:52
 */
public interface PmsSkuStockService extends IService<PmsSkuStock> {

    /**
     * 查找商品sku
     */
    List<PmsSkuStock> fetchListSku(Integer pid);

    /**
     * 修改sku数据
     * @param pmsSkuStocks
     * @return
     */
    int updateSkuStockById(List<PmsSkuStock> pmsSkuStocks);

}

